//
//  ConnectViewController.h
//  Light
//
//  Created by 骁唐 on 15/8/27.
//  Copyright (c) 2015年 骁唐. All rights reserved.
/*
 SXW__Login-外设连接控制界面
 */

#import <UIKit/UIKit.h>
#import <CoreBluetooth/CoreBluetooth.h>

@interface ConnectViewController : UIViewController<BTServerDelegate>

//外设
@property(nonatomic,strong)CBPeripheral *peripheral;
//写入特征
@property(nonatomic,strong)CBCharacteristic *writeCharacteristic;
//读特征
@property(nonatomic,strong)CBCharacteristic *readCharacteristic;
//标记 连接是从设置进入的，还是login进入的  YES:设置进入的。NO，注册进入的。
@property (nonatomic,assign) BOOL mark;

////电量请求
//- (IBAction)testBtnAction:(id)sender;
//- (void)power;
//+ (ConnectViewController *)sharedManager;

@property (nonatomic,copy)  void(^goToRootViewController)();
@end
